/* 
 * Copyright [2018] [Alex/libo(liboms@hotmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.schedule.executor.model;

import com.alibaba.fastjson.JSONObject;

/** 
 * @title JobBean.java  
 * @package com.hyts.schedule.quartz.model  
 * @description TODO  
 * @see TODO
 * @author libo/Alex
 * @email liboms@hotmail.com/liboware@163.com  
 * @date 2018年5月18日 
 * @version V1.0 
 */
public class JobBean {
	
	/**  
	 * <p>结果操作信息</p> 
	 * @fieldName resultJson
	 * @fieldType JSONObject
	 */ 
	private JSONObject paramJson;
	
	/**  
	 * <p>结果内容对象</p> 
	 * @fieldName resultJson
	 * @fieldType JSONObject
	 */ 
	private JSONObject resultJson;
	
	/**  
	 * <p>是否成功</p> 
	 * @fieldName isSuccess
	 * @fieldType boolean
	 */ 
	private boolean isSuccess;
	
	/**  
	 * <p>工作任务名称</p> 
	 * @fieldName jobName
	 * @fieldType String
	 */ 
	private String jobName;
	
	/**  
	 * <p>工作任务组名称</p> 
	 * @fieldName jobGroupName
	 * @fieldType String
	 */ 
	private String jobGroupName;
	
	/**  
	 * <p>描述信息</p> 
	 * @fieldName description
	 * @fieldType String
	 */ 
	private String description;

	/**  
	 * @name resultJson's getter method
	 * @param none
	 * @return resultJson
	 */
	public JSONObject getResultJson() {
		return resultJson;
	}

	/**  
	 * @name resultJson's setter method
	 * @param resultJson
	 * @return void
	 */
	public void setResultJson(JSONObject resultJson) {
		this.resultJson = resultJson;
	}

	/**  
	 * @name isSuccess's getter method
	 * @param none
	 * @return isSuccess
	 */
	public boolean isSuccess() {
		return isSuccess;
	}

	/**  
	 * @name isSuccess's setter method
	 * @param isSuccess
	 * @return void
	 */
	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	/**  
	 * @name jobName's getter method
	 * @param none
	 * @return jobName
	 */
	public String getJobName() {
		return jobName;
	}

	/**  
	 * @name jobName's setter method
	 * @param jobName
	 * @return void
	 */
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	/**  
	 * @name jobGroupName's getter method
	 * @param none
	 * @return jobGroupName
	 */
	public String getJobGroupName() {
		return jobGroupName;
	}

	/**  
	 * @name jobGroupName's setter method
	 * @param jobGroupName
	 * @return void
	 */
	public void setJobGroupName(String jobGroupName) {
		this.jobGroupName = jobGroupName;
	}

	/**  
	 * @name paramJson's getter method
	 * @param none
	 * @return paramJson
	 */
	public JSONObject getParamJson() {
		return paramJson;
	}

	/**  
	 * @name paramJson's setter method
	 * @param paramJson
	 * @return void
	 */
	public void setParamJson(JSONObject paramJson) {
		this.paramJson = paramJson;
	}

	/**  
	 * @name description's getter method
	 * @param none
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**  
	 * @name description's setter method
	 * @param description
	 * @return void
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**  
	 * @constructor：JobBean  
	 * @param paramJson
	 * @param jobName
	 * @param jobGroupName
	 * @param description  
	 */ 
	public JobBean(JSONObject paramJson, String jobName, String jobGroupName,
			String description) {
		super();
		this.paramJson = paramJson;
		this.jobName = jobName;
		this.jobGroupName = jobGroupName;
		this.description = description;
	}

	/**  
	 * @constructor：JobBean  
	 * @param paramJson
	 * @param jobName
	 * @param jobGroupName  
	 */ 
	public JobBean(JSONObject paramJson, String jobName, String jobGroupName) {
		super();
		this.paramJson = paramJson;
		this.jobName = jobName;
		this.jobGroupName = jobGroupName;
	}

	/**  
	 * @constructor：JobBean  
	 * @param paramJson  
	 */ 
	
	
	public JobBean(JSONObject paramJson) {
		super();
		this.paramJson = paramJson;
	}
	
	
}
